import { file } from "@/router/enums";
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/file",
  name: "File",
  component: Layout,
  redirect: "/file/load",
  meta: {
    icon: "ep:files",
    title: "文件管理",
    rank: file
  },
  children: [
    {
      path: "/file/load",
      name: "File-Load",
      component: () => import("@/views/file/load/index.vue"),
      meta: {
        icon: "ep:upload",
        title: "上传下载",
        keepAlive: true,
        // 通过设置showParent为true，显示父级
        showParent: true
      }
    }
  ]
} as RouteConfigsTable;
